package com.mf.entity.dto.roster;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDate;

/**
 * @Author: lmf
 * @Create: 2024/9/1 17:54
 * Description:  离职
 */
@Data
public class RosterLeaveDto {
    @Schema(description = "花名册id")
    @NotNull(message = "花名册id不能为空")
    private Integer id;
    @Schema(description = "离职日期")
    @NotNull(message = "离职日期不能为空")
    private LocalDate leaveDate;

    @Schema(description = "离职类型")
    @NotNull(message = "离职类型不能为空")
    private String leaveType;
}
